package net.lab1024.smartadmin.module.weapp.visitor;

import lombok.Data;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import net.lab1024.smartadmin.module.system.department.domain.dto.DepartmentVO;
import net.lab1024.smartadmin.module.system.department.domain.entity.DepartmentEntity;
import net.lab1024.smartadmin.module.system.employee.domain.dto.EmployeeDTO;
import net.lab1024.smartadmin.module.system.employee.domain.entity.EmployeeEntity;
import net.lab1024.smartadmin.module.weapp.orders.domain.dto.OrdersPics;
import net.lab1024.smartadmin.module.weapp.orders.domain.entity.OrdersCommentEntity;
import net.lab1024.smartadmin.module.weapp.orders.domain.entity.OrdersDetailEntity;
import net.lab1024.smartadmin.module.weapp.orderstype.domain.vo.WorkOrderTypeVO;

/**
 *  [  ]
 *
 * @author wuqian
 * @version 1.0
 * @company 五千
 * @copyright (c) 五千Inc. All rights reserved.
 * @date  2021-03-10 15:12:30
 * @since JDK1.8
 */
@Data
public class VisitorVO {

    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("步骤")
    private int step;
    @ApiModelProperty("拜访姓名")
    private String name;

    @ApiModelProperty("是否是审核人")
    private Boolean isReviewer=false;

    @ApiModelProperty("是否是门卫")
    private Boolean isSurer=false;
    @ApiModelProperty("拜访人电话")
    private String mobile;
    private Integer peerNumber;
    private Integer eatNumber;
    private int isCar;
    private String carid;

    @ApiModelProperty("被拜访人电话")
    private String tname;

    @ApiModelProperty("关联员工id")
    private Long tuid;

    private String departmentName;

    @ApiModelProperty("计划拜访时间")
    @JsonFormat(pattern = "yyyy-M-d H", timezone = "GMT+8")
    private Date pgotime;
    @ApiModelProperty("拜访时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date gotime;
    @ApiModelProperty("计划离开时间")
    @JsonFormat(pattern = "yyyy-M-d H", timezone = "GMT+8")
    private Date pleavetime;
    @ApiModelProperty("离开时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date leavetime;

    @ApiModelProperty("是否就餐")
    private int isEat;
    @ApiModelProperty("拜访事由")
    private String reason;

    @ApiModelProperty("是否疫情风控区")
    private int isepidemicrisk;

    @ApiModelProperty("create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("update_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;

    @ApiModelProperty("附件1")
    private String att01;
    @ApiModelProperty("附件2")
    private String att02;
    @ApiModelProperty("附件3")
    private String att03;

}
